package top.laoshuzi.designpatterns.base.created.builder.kotlin

import org.junit.Test

class Client {

    @Test
    fun operation() {

        //初始化
        val builder = ConcreteBuilder()
        val director = Director(builder)

        //创建
        val product = director.create()
        println(product.part1)
        println(product.part2)
        println(product.part3)

    }
}